$(function () {
    Magiclamp.tabAddCls('user_center');
    $("#loginout_btn").click(function(){
        var url = "/account/member/logout/";
        var data = {};
        Magiclamp.mcAjax(url,'get',data
            ,function(data){
                if(parseInt(data.status) === 1){
                    Magiclamp.midToast('success', data.message);
                    setTimeout(function(){
                        location.reload();
                    },500)
                }
            }
            ,function(){}
        );
    })

})